package com.dlwx.parttimetalent.adapter;

import android.content.Context;
import android.widget.TextView;

import com.dlwx.parttimetalent.R;
import com.dlwx.parttimetalent.bean.HelpBean;

/**
 * Created by Administrator on 2017/11/21.
 */

public class HelpAdapter extends ListBaseAdapter<HelpBean.BodyBean> {
    private  Context context;
    public HelpAdapter(Context context) {
        super(context);
        this.context=context;
    }

    @Override
    public int getLayoutId() {
        return R.layout.item_help;
    }

    @Override
    public void onBindItemHolder(SuperViewHolder holder, int position) {
        HelpBean.BodyBean bean = getDataList().get(position);
        TextView tv_platform = holder.getView(R.id.tv_platform);
        tv_platform.setText(bean.getHelptitle());
    }
}
